<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8" />

        <title>会员列表</title>

        <link href="/Admin/Public/css/mine.css" type="text/css" rel="stylesheet" />
    </head>
    <body>
        <style>
            .tr_color{background-color: #9F88FF}
        </style>
        <div class="div_head">
            <span>
                <span style="float: left;">当前位置是：权限分配</span>
                <span style="float: right; margin-right: 8px; font-weight: bold;">
                    <a style="text-decoration: none;" href="__CONTROLLER__/showlist">返回</a>
                </span>
            </span>
        </div>

        <div style="font-size: 13px; margin: 10px 5px;">
        	<form action="__SELF__" method="post">
            <table class="table_a" border="1" width="100%">
                <tbody>
                	<tr style="font-weight: bold;">
                        <foreach name="auth_infoA" item="v">
	                		<tr style="font-weight: bold;">
	                        <td>
	                        	<if condition ="in_array($v[auth_id],$have_auth)">
	                        <input type="checkbox" name="auth_id[]" value="{$v.auth_id}" checked="checked">
	                        	<else/>
	                        	<input type="checkbox" name="auth_id[]" value="{$v.auth_id}">
	                        </if>
	                        	{$v.auth_name}
	                        </td>
	                        <td>
	                        	<foreach name="auth_infoB" item="vv">
	                        	<if condition="$vv[auth_pid] eq $v[auth_id]">
	                        		<div style="width:200px; float:left;">
	                        			<if condition ="in_array($v[auth_id],$have_auth)">
	                        			<input type="checkbox" name = "auth_id[]" value = "{$vv.auth_id}" checked="checked">
	                        			<else/>
	                        			<input type="checkbox" name = "auth_id[]" value = "{$vv.auth_id}">
	                        			</if>
	                        			{$vv.auth_name}
	                        		</div>
	                        	</if>
	                        	</foreach>
	                        </td>
	                        
		                    </tr>
	                    </foreach>
                    </tr>
                    
                    <tr>
                        <td colspan="20" style="text-align: center;">
                            
                        </td>
                    </tr>
                </tbody>
                <input type="submit" value="提交">
                </form>
            </table>
        </div>
    </body>
</html>